<template>
	<div>
		<!-- <ConfirmOrderHeader /> -->
		<van-nav-bar title="确认订单" left-text="返回" left-arrow placeholder fixed @click-left="onClickLeft" />
		<ConfirmOrderTime />
		<ConfirmOrderAddDeliveryAddress />
		<ConfirmOrderInformation :yl="yl" />
		<ConfirmOrderSharing />
		<ConfirmOrderEvaluation />
		<ConfirmOrderFooter />
	</div>
</template>

<script>
// import ConfirmOrderHeader from './components/ConfirmOrderHeader.vue';
import ConfirmOrderTime from './components/ConfirmOrderTime.vue';
import ConfirmOrderAddDeliveryAddress from './components/ConfirmOrderAddDeliveryAddress.vue';
import ConfirmOrderInformation from './components/ConfirmOrderInformation.vue';
import ConfirmOrderSharing from './components/ConfirmOrderSharing.vue';
import ConfirmOrderEvaluation from './components/ConfirmOrderEvaluation.vue';
import ConfirmOrderFooter from './components/ConfirmOrderFooter.vue';
export default {
	name: 'ConfirmOrderIndex',
	components: {
		// ConfirmOrderHeader,
		ConfirmOrderTime,
		ConfirmOrderAddDeliveryAddress,
		ConfirmOrderInformation,
		ConfirmOrderSharing,
		ConfirmOrderEvaluation,
		ConfirmOrderFooter,
	},
	computed: {
		FoodDetailData() {
			return this.$route.params.FoodDetailData || JSON.parse(localStorage.getItem('FoodDetailData'));
		},
		yl() {
			return this.FoodDetailData.yl;
		},
	},
};
</script>

<style></style>
